#ifndef chibi_h
#define chibi_h
int open();
void freedb();
int addChibi(unsigned int qino,unsigned int weij,unsigned long long int weiy,unsigned int shuj,unsigned long long int shuy,unsigned int wuj,unsigned long long int wuy);
int chibiUpdateVictory(unsigned int qino,unsigned int victory);
// int chibiUpdateVictoryJy(char *name, int name_len, char *pwd, int pwd_len);
int chibiUpdateCtriJy(unsigned int qino,unsigned int weij,unsigned long long int weiy,unsigned int shuj,unsigned long long int shuy,unsigned int wuj,unsigned long long int wuy);
// int getChibiLastMaxCtri(char *name, int name_len, char *pwd, int pwd_len);
// int chibiUpdateYaCtri(char *name, int name_len, char *pwd, int pwd_len);
// int chibiUpdateSumJy(char *name, int name_len, char *pwd, int pwd_len);
int write(unsigned int qino,unsigned int weij,unsigned long long int weiy,unsigned int shuj,unsigned long long int shuy,unsigned int wuj,unsigned long long int wuy);

#endif